score = int(input("请输入成绩[整数]："))

if not (0 <= score <= 100):
    raise ValueError("分数必须在0-100之间")

if score == 100:
    print("奖励一辆 BMW")
elif 80 < score <= 99:
    print("奖励一台 iphone13")
elif 60 <= score <= 80:
    print("奖励一个 iPad")
else:
    print("什么奖励也没有")
